Web API Core | ComponentOne
C1.Web.Api.Pdf Namespace / PdfController Class / Location Method / Location<T1>(Expression<Func<Func<T1,IActionResult>>>,IDictionary<String,Object>) Method
The expression which returns the function of calling the action method.
The dictionary that contains the parameters for the action.

In This Topic
    Location<T1>(Expression<Func<Func<T1,IActionResult>>>,IDictionary<String,Object>) Method
    In This Topic
    Returns an absolute url for the specified action.
    Syntax

    Parameters

    expression
    The expression which returns the function of calling the action method.
    values
    The dictionary that contains the parameters for the action.

    Type Parameters

    T1

    Return Value

    The absolute url for the specified action.
    Example
    Location<string>(()=>this.Action);
    See Also